package com.geek.javase.ch18.videodemo.pattern.proxy.statics;

/*
 *@Date 2025/11/6
 *@Author wangpeng
 *@Description TODO
 */
public class Test {
    public static void main(String[] args) {
        IService target = new BankService();
        //静态代理对象
        StaticBankLogService proxy = new StaticBankLogService(target);
        //执行业务逻辑
        proxy.login(1L, "123");
        proxy.register(2L, "张三", "456");

    }
}
